#pragma once

using namespace System;
using namespace System::ComponentModel;
using namespace System::Collections;
using namespace System::Windows::Forms;
using namespace System::Data;
using namespace System::Drawing;


namespace ProductMania {

	/// <summary>
	/// Summary for ViewDetails
	///
	/// WARNING: If you change the name of this class, you will need to change the
	///          'Resource File Name' property for the managed resource compiler tool
	///          associated with all .resx files this class depends on.  Otherwise,
	///          the designers will not be able to interact properly with localized
	///          resources associated with this form.
	/// </summary>
	public ref class ViewDetails : public System::Windows::Forms::Form
	{
	public:
		ViewDetails(void)
		{
			InitializeComponent();
			//
			//TODO: Add the constructor code here
			//
		}

	protected:
		/// <summary>
		/// Clean up any resources being used.
		/// </summary>
		~ViewDetails()
		{
			if (components)
			{
				delete components;
			}
		}
    private: System::Windows::Forms::DataGridView^  dataGridView1;
    protected: 
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  ServiceOrderNo;
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  CustomerName;
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  EqNameMake;
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  ModelNo;
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  SlNo;
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  CalOn;
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  CalDue;
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  ReceivedDate;
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  DispatchDate;
    private: System::Windows::Forms::DataGridViewTextBoxColumn^  UploadReport;
    private: System::Windows::Forms::Button^  button1;

	private:
		/// <summary>
		/// Required designer variable.
		/// </summary>
		System::ComponentModel::Container ^components;

#pragma region Windows Form Designer generated code
		/// <summary>
		/// Required method for Designer support - do not modify
		/// the contents of this method with the code editor.
		/// </summary>
		void InitializeComponent(void)
		{
            System::ComponentModel::ComponentResourceManager^  resources = (gcnew System::ComponentModel::ComponentResourceManager(ViewDetails::typeid));
            this->dataGridView1 = (gcnew System::Windows::Forms::DataGridView());
            this->ServiceOrderNo = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->CustomerName = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->EqNameMake = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->ModelNo = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->SlNo = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->CalOn = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->CalDue = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->ReceivedDate = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->DispatchDate = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->UploadReport = (gcnew System::Windows::Forms::DataGridViewTextBoxColumn());
            this->button1 = (gcnew System::Windows::Forms::Button());
            (cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView1))->BeginInit();
            this->SuspendLayout();
            // 
            // dataGridView1
            // 
            this->dataGridView1->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((((System::Windows::Forms::AnchorStyles::Top | System::Windows::Forms::AnchorStyles::Bottom) 
                | System::Windows::Forms::AnchorStyles::Left) 
                | System::Windows::Forms::AnchorStyles::Right));
            this->dataGridView1->BorderStyle = System::Windows::Forms::BorderStyle::None;
            this->dataGridView1->ColumnHeadersBorderStyle = System::Windows::Forms::DataGridViewHeaderBorderStyle::Single;
            this->dataGridView1->ColumnHeadersHeightSizeMode = System::Windows::Forms::DataGridViewColumnHeadersHeightSizeMode::AutoSize;
            this->dataGridView1->Columns->AddRange(gcnew cli::array< System::Windows::Forms::DataGridViewColumn^  >(10) {this->ServiceOrderNo, 
                this->CustomerName, this->EqNameMake, this->ModelNo, this->SlNo, this->CalOn, this->CalDue, this->ReceivedDate, this->DispatchDate, 
                this->UploadReport});
            this->dataGridView1->Location = System::Drawing::Point(12, 12);
            this->dataGridView1->Name = L"dataGridView1";
            this->dataGridView1->RowHeadersVisible = false;
            this->dataGridView1->Size = System::Drawing::Size(805, 319);
            this->dataGridView1->TabIndex = 0;
            // 
            // ServiceOrderNo
            // 
            this->ServiceOrderNo->HeaderText = L"Service Order No";
            this->ServiceOrderNo->Name = L"ServiceOrderNo";
            // 
            // CustomerName
            // 
            this->CustomerName->HeaderText = L"Customer Name";
            this->CustomerName->Name = L"CustomerName";
            // 
            // EqNameMake
            // 
            this->EqNameMake->HeaderText = L"Equipment name / make ";
            this->EqNameMake->Name = L"EqNameMake";
            // 
            // ModelNo
            // 
            this->ModelNo->HeaderText = L"Model No";
            this->ModelNo->Name = L"ModelNo";
            // 
            // SlNo
            // 
            this->SlNo->HeaderText = L"Sl No";
            this->SlNo->Name = L"SlNo";
            // 
            // CalOn
            // 
            this->CalOn->HeaderText = L"Cal On";
            this->CalOn->Name = L"CalOn";
            // 
            // CalDue
            // 
            this->CalDue->HeaderText = L"Cal Due";
            this->CalDue->Name = L"CalDue";
            // 
            // ReceivedDate
            // 
            this->ReceivedDate->HeaderText = L"Received Date";
            this->ReceivedDate->Name = L"ReceivedDate";
            // 
            // DispatchDate
            // 
            this->DispatchDate->HeaderText = L"Dispatch Date";
            this->DispatchDate->Name = L"DispatchDate";
            // 
            // UploadReport
            // 
            this->UploadReport->HeaderText = L"Upload Report (pdf)";
            this->UploadReport->Name = L"UploadReport";
            // 
            // button1
            // 
            this->button1->Anchor = static_cast<System::Windows::Forms::AnchorStyles>((System::Windows::Forms::AnchorStyles::Bottom | System::Windows::Forms::AnchorStyles::Right));
            this->button1->Font = (gcnew System::Drawing::Font(L"Microsoft Sans Serif", 11.25F, System::Drawing::FontStyle::Bold, System::Drawing::GraphicsUnit::Point, 
                static_cast<System::Byte>(0)));
            this->button1->Location = System::Drawing::Point(633, 349);
            this->button1->Name = L"button1";
            this->button1->Size = System::Drawing::Size(184, 61);
            this->button1->TabIndex = 1;
            this->button1->Text = L"Save";
            this->button1->UseVisualStyleBackColor = true;
            // 
            // ViewDetails
            // 
            this->AutoScaleDimensions = System::Drawing::SizeF(6, 13);
            this->AutoScaleMode = System::Windows::Forms::AutoScaleMode::Font;
            this->ClientSize = System::Drawing::Size(823, 422);
            this->Controls->Add(this->button1);
            this->Controls->Add(this->dataGridView1);
            this->Icon = (cli::safe_cast<System::Drawing::Icon^  >(resources->GetObject(L"$this.Icon")));
            this->Name = L"ViewDetails";
            this->Text = L"ViewDetails";
            (cli::safe_cast<System::ComponentModel::ISupportInitialize^  >(this->dataGridView1))->EndInit();
            this->ResumeLayout(false);

        }
#pragma endregion
	};
}
